package com.zendaimoney.test.simulation.dto.response.allinpay.agrm.collect;
import lombok.Data;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

@XmlAccessorType(XmlAccessType.FIELD)
@Data
@ToString

/**
 * 协议支付交易response
 */

public class AgrmCollectRespHeader {
    /**
     * 交易代碼
     */
    @XmlElement(name = "TRX_CODE")
    private String trxCode = "310011";

    /**
     * 版本
     */
    @XmlElement(name = "VERSION")
    private String version = "04";

    /**
     * 数据格式,2：xml格式
     */
    @XmlElement(name = "DATA_TYPE")
    private String dataType = "2";

    /**
     * 交易流水号
     */
    @XmlElement(name = "REQ_SN")
    private String reqSn = "";

    /**
     * 返回代码
     */
    @XmlElement(name = "RET_CODE")
    private String retCode = "";

    /**
     * 错误信息
     */
    @XmlElement(name = "ERR_MSG")
    private String errMsg = "";

    /**
     * 签名信息
     */
    @XmlElement(name = "SIGNED_MSG")
    private String signedMsg = "";
}
